package cn.yh.register.hosp.repository;

import cn.yh.register.model.hosp.Hospital;
import cn.yh.register.model.hosp.Schedule;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface ScheduleRepository extends MongoRepository<Schedule,String> {
    Schedule findByHoscodeAndDepcodeAndHosScheduleId(String hoscode,String depcode,String hosscheduleId);
    Schedule findByHoscodeAndHosScheduleId(String hoscode,String hosscheduleId);
}
